package com.kirk.crawler.webService.manager;


import com.kirk.crawler.webService.manager.beans.*;

import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

/**
 *  <p> ManagerService.java </p>
 *
 * @Author      kirkliu
 * @Date        2020-08-29 22:34
 * @version     1.0.0
 * @Description wbx服务接口
 */
@WebService  
@SOAPBinding(style = Style.RPC)
public interface ManagerService {

	/**
	 * 登录
	 * @param userBean 用户值对象
	 * @return 用户值对象
	 */
	UserBean login(@WebParam(name = "userBean") UserBean userBean);

	/**
	 * 退出登录
	 * @param userBean 用户值对象
	 * @return 用户值对象
	 */
	UserBean logout(@WebParam(name = "userBean") UserBean userBean);

	/**
	 * 取得版本列表
	 */
	VersionBean getVersion(@WebParam(name = "versionBean") VersionBean versionBean);

	/**
	 * 留言反馈
	 */
	FeedBackBean feedBack(@WebParam(name = "feedBackBean") FeedBackBean feedBackBean);

	/**
	 * 取得返回信息列表edBackBean
	 * @return
	 */
	PaginationBean<FeedBackBean> getFeedBackList(@WebParam(name = "feedBackBean") FeedBackBean feedBackBean);
	/**
	 * 取得系统消息列表
	 */
	PaginationBean<MsgBean> getMsgList(@WebParam(name = "msgBean") MsgBean msgBean);

	/**
	 * 更新采集数量
	 * @param userId 用户ID
	 * @param size 采集数量
	 */
	void updateGatherSize(Integer userId, Integer size);
}
